import request from "@/utils/request.js";

export const listOrder= (params) =>request.get('/api/hotel/order/list',{params})

export const deleteOrder= (id) =>request.delete('/api/hotel/order/delete/'+id)

export const insertOrder = (obj) => request.post('/api/hotel/order/insert',obj)

export const updateOrder = (obj) => request.put('/api/hotel/order/update',obj)

export const addOrder = (obj) => request.post('/api/hotel/order/add',obj)
